//
// Created by Administrator on 2022/6/15.
//

#ifndef RAPIDSVN_WIN_MAINAPP_H
#define RAPIDSVN_WIN_MAINAPP_H

#include "wx/app.h"
#include "wx/intl.h"
#include <wx/html/helpctrl.h> // html help support
#include <wx/cmdline.h>
#include <wx/snglinst.h>
#include <wx/dynlib.h>
#include <wx/process.h>
#include <wx/tipdlg.h>

class MainApp :public wxApp{

public:
    wxFileName* getFileName(){
        return fileName;
    }

    bool getDeleted() const{
        return deleted;
    }
protected:
    bool OnInit() override;
    int OnExit() override;

private:
    wxLocale m_locale;

    wxSingleInstanceChecker* m_checker;
    wxFileName * fileName;
    bool deleted;
};

DECLARE_APP(MainApp)


#endif //RAPIDSVN_WIN_MAINAPP_H
